package com.emily.log.controller;

import com.emily.log.LogApp;
import com.emily.log.api.LogApiRest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController

public class LogController implements LogApiRest {
    Logger logger = LoggerFactory.getLogger(LogApp.class);

    public String printLog(String info){
        logger.info(">>>>>" + info);
        return "successful";
    }

}
